package com.bbc.yuntun;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * web容器部署
 *
 * @author wl
 */
public class YuntunServletInitializer extends SpringBootServletInitializer {

    /**
     * Web容器配置
     *
     * @param application SpringBoot应用程序构造器
     * @return Web容器
     */
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(YuntunApplication.class);
    }

}
